package com.accesshollywood.grfxOrdering.orderTreeSpecial.models;

import javax.swing.table.AbstractTableModel;

import com.accesshollywood.indexables.GrfxOrder;

public class SummaryTableModel{// extends AbstractTableModel {
	/*
	public static String[]	columnNames	= { "OrderNum","Due Date","Show","Type","Artist","Summary" };
	public static int[] columnWidths = {60,100,50,100,80,300};
	public GrfxOrder grfxOrder;

	public SummaryTableModel(GrfxOrder grfxOrder) {
		this.grfxOrder = grfxOrder;
	}

	public boolean isCellEditable(){
		return false;
	}
	
	@Override
	public int getColumnCount() {
		return columnNames.length;
	}

	@Override
	public int getRowCount() {
		return 1;
	}

	@Override
	public String getColumnName(int col){
		return columnNames[col];
	}
	
	@Override
	public Object getValueAt(int row, int column) {
		Object result = null;
		GrfxOrder currOrder = (GrfxOrder)grfxOrder;
		switch(column){
		case 0:
			result = currOrder.getIdOrder();
			break;
		case 1:
			result = currOrder.getDueDate();
			break;
		case 2:
			result = currOrder.getShowName();
			break;
		case 3:
			result = currOrder.getGraphicType();
			break;
		case 4:
			result = currOrder.getArtist();
			break;
		case 5:
			result = currOrder.getSummary();
			break;
		}
		return result;
    }
	*/
}
